package com.hutianao.gqgl.systemSetting.respository;

import com.hutianao.gqgl.mybatis.entity.PtSystemSetting;
import com.hutianao.gqgl.mybatis.flexigrid.PaddingEntity;
import com.hutianao.gqgl.organ.entity.SearchOrganEntity;
import com.hutianao.gqgl.systemSetting.entity.SearchsystemSettingEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface SystemSettingDao {
    List<PtSystemSetting> listSysSettingByName(@Param( "search") SearchsystemSettingEntity search, @Param("padding") PaddingEntity padding);

    Integer countSysSettingByName(@Param( "search") SearchsystemSettingEntity search );


    void addSystemInfoInfo(PtSystemSetting ptSystemSetting);

    void updateSystemInfoInfo(PtSystemSetting ptSystemSetting);

    int deleteSystemById(@Param( "ids") String[] systemUuids);
}
